package com.lry.basic.jvm.constantPool;

import com.lry.basic.jvm.rpc.JavaClassExecuter;

import java.io.FileInputStream;
import java.io.InputStream;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/12/23
 */
public class Test {
    public static void main(String[] args) throws Exception {
        InputStream in = new FileInputStream("F:\\lry\\project\\idea\\basic\\target\\classes\\com\\lry\\basic\\jvm\\constantPool\\TestString.class");
        byte [] bytes = new byte[in.available()];
        in.read(bytes);
        in.close();
        ConstantPool constantPool = new ConstantPool(bytes);
        System.out.println(constantPool.getStringConstant());


    }
}
